package com.admin.business.background.venusOaApprovalRecord;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.tiangong.framework.bo.CDO;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

/**
 * @description: 请假补卡申请表
 * @create: 2023-11-04 17:26:21
 **/
@DS("user")
@Mapper
public interface VenusOaApprovalRecordDao{
    /**添加请假补卡申请表数据*/
    void addVenusOaApprovalRecord(CDO cdo);

    /**根据Id更新请假补卡申请表数据*/
    int updateVenusOaApprovalRecordById(CDO cdo);

    /**根据Id删除请假补卡申请表数据*/
    int deleteVenusOaApprovalRecordById(Long id);

    /**根据条件删除请假补卡申请表数据*/
    int deleteVenusOaApprovalRecord(CDO cdo);

    /**根据id获取请假补卡申请表数据*/
    CDO getVenusOaApprovalRecordById(Long id);

    /**根据非空条件获取请假补卡申请表数据列表*/
    List<CDO> getVenusOaApprovalRecordListPage(CDO cdo);

    /**根据混合条件获取请假补卡申请表数据列表*/
    List<CDO> getVenusOaApprovalRecordListPageByCondition(CDO cdo);

    void updateVenusOaLeaveApproval(CDO cdo);

    List<CDO> autoRejectApproval();

}
